public class animalTest {
    public static void main(String[] args) {
        Pig peiqi = new Pig("佩奇", 3, "female", 4, 50.00, 1.2, 0.8, "pink");
        System.out.println("佩奇：");
        peiqi.eatting("白菜");
        peiqi.walking();
        Chicken ggd = new Chicken("gegeda", 1, "male", 2, 5.00, "yellow");
        ggd.eatting("虫子");
        ggd.fying();
    }
}
